From: Alex Williamson Date: Thu, 29 Nov 2007 19:01:44 +0000 (-0700) Subject: [IA64] Provide backing for XEN_DOMCTL_set_opt_feature X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14686 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d1ecffb2a9b2df3ba5a5ce45d90aad8ae33f8ffe;p=xen.git [IA64] Provide backing for XEN_DOMCTL_set_opt_feature Signed-off-by: Alex Williamson --- diff --git a/xen/arch/ia64/xen/dom0_ops.c b/xen/arch/ia64/xen/dom0_ops.c index 407d605385..0d52d50192 100644 --- a/xen/arch/ia64/xen/dom0_ops.c +++ b/xen/arch/ia64/xen/dom0_ops.c @@ -343,6 +343,20 @@ long arch_do_domctl(xen_domctl_t *op, XEN_GUEST_HANDLE(xen_domctl_t) u_domctl) } break; + case XEN_DOMCTL_set_opt_feature: + { + struct xen_ia64_opt_feature *optf = &op->u.set_opt_feature.optf; + struct domain *d = get_domain_by_id(op->domain); + + if (d == NULL) { + ret = -EINVAL; + break; + } + + ret = domain_opt_feature(d, optf); + } + break; + default: printk("arch_do_domctl: unrecognized domctl: %d!!!\n",op->cmd); ret = -ENOSYS;